package org.charles.zhifou.scoring;

import org.charles.zhifou.enums.AppTypeEnum;
import org.charles.zhifou.enums.ScoringStrategyEnum;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <h1>评分策略注解</h1>
 *
 * @author Charles
 * @version 1.0
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface ScoringStrategyService {

    /**
     * 应用类型
     * @return
     */
    AppTypeEnum appType();

    /**
     * 评分策略
     * @return
     */
    ScoringStrategyEnum scoringStrategy();
}